package com.huawei.translate.model;

import com.huawei.translate.service.LogType;

public class DetectRecord extends Record {
    private String sourceText;
    private String languageCode;

    public DetectRecord() {
        this.setLogType(LogType.DETECT.getDescription());
    }

    public String getLanguageCode() {
        return languageCode;
    }

    public void setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
    }

    public void setSourceText(String content) {
        this.sourceText = content;
    }

    public String getSourceText() {
        return sourceText;
    }
}
